package top.yonyong.java8.A接口的默认方法;

/**
 * @author yonyong
 **/
public class Main {
    public static void main(String[] args) {
        DefalutTest defalutTest = new DefaultTestImpl();
        defalutTest.defaultMethod();
        defalutTest.defaultMethod2();

        int val = defalutTest.sub(10, 5);
        System.out.println(val);

        DefalutTest.staticMethod();
    }
}
